package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;


/**
 * 组织机构表Entity
 *
 * @author generator
 * @date 2020-03-12 17:08
 */
@MyTable(value = "OrganizationInstitutionEntity", name = "organization_institution", comment = "组织机构表")
public class OrganizationInstitutionEntity extends BaseEntity {
    /**
     * 父组织外键
     */
    @MyColumn(value = "parentId", name = "parent_id", comment = "父组织外键", required = true)
    private Integer parentId;

    /**
     * 父组织名称
     */
    @MyColumn(value = "parentName", name = "parent_name", comment = "父组织名称", required = true)
    private String parentName;

    /**
     * 组织编码
     */
    @MyColumn(value = "organizationCode", name = "organization_code", comment = "组织编码", required = true)
    private String organizationCode;

    /**
     * 组织名称
     */
    @MyColumn(value = "organizationName", name = "organization_name", comment = "组织名称", required = true)
    private String organizationName;

    /**
     * 组织简称
     */
    @MyColumn(value = "organizationAbbreviation", name = "organization_abbreviation", comment = "组织简称")
    private String organizationAbbreviation;

    /**
     * 组织描述
     */
    @MyColumn(value = "organizationDescribe", name = "organization_describe", comment = "组织描述")
    private String organizationDescribe;

    /**
     * 组织分类编码
     */
    @MyColumn(value = "organizationTypeCode", name = "organization_type_code", comment = "组织分类编码")
    private Integer organizationTypeCode;

    /**
     * 地址
     */
    @MyColumn(value = "address", name = "address", comment = "地址")
    private String address;

    /**
     * 禁用状态
     */
    @MyColumn(value = "disableState", name = "disable_state", comment = "禁用状态", required = true)
    private Integer disableState;

    /**
     * 排序
     */
    @MyColumn(value = "sort", name = "sort", comment = "排序", required = true)
    private Integer sort;

    /**
     * 备注
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注")
    private String remark;


    public Integer getParentId() {
        return parentId;
    }

    public OrganizationInstitutionEntity setParentId(Integer parentId) {
        this.parentId = parentId;
        return this;
    }

    public String getParentName() {
        return parentName;
    }

    public OrganizationInstitutionEntity setParentName(String parentName) {
        this.parentName = parentName;
        return this;
    }

    public String getOrganizationCode() {
        return organizationCode;
    }

    public OrganizationInstitutionEntity setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
        return this;
    }

    public String getOrganizationName() {
        return organizationName;
    }

    public OrganizationInstitutionEntity setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
        return this;
    }

    public String getOrganizationAbbreviation() {
        return organizationAbbreviation;
    }

    public OrganizationInstitutionEntity setOrganizationAbbreviation(String organizationAbbreviation) {
        this.organizationAbbreviation = organizationAbbreviation;
        return this;
    }

    public String getOrganizationDescribe() {
        return organizationDescribe;
    }

    public OrganizationInstitutionEntity setOrganizationDescribe(String organizationDescribe) {
        this.organizationDescribe = organizationDescribe;
        return this;
    }

    public Integer getOrganizationTypeCode() {
        return organizationTypeCode;
    }

    public OrganizationInstitutionEntity setOrganizationTypeCode(Integer organizationTypeCode) {
        this.organizationTypeCode = organizationTypeCode;
        return this;
    }

    public String getAddress() {
        return address;
    }

    public OrganizationInstitutionEntity setAddress(String address) {
        this.address = address;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public OrganizationInstitutionEntity setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public OrganizationInstitutionEntity setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public OrganizationInstitutionEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }
}